const fs = require('fs');
const Transpiler = require('../lib/transpiler');
const path = require('path');

let filePath = path.resolve(__dirname, 'Login.vue');

fs.readFile(filePath, (err, data) => {
    if (err)
        throw err;

    let fileContent = data.toString();
    let transpiler = new Transpiler(fileContent);
    let compiled = transpiler.transform(filePath);
});

